Order Item

An individual item within an order, representing a specific product and quantity.

Order Items break down an order into its constituent items. Each item includes:

  • Book ID (product identifier)
  • Quantity ordered (must be greater than zero)
  • Price per unit (must be greater than or equal to zero)
  • Order ID reference
  • Validation to ensure valid quantities and prices

Order Items are used for inventory management, picking, and shipping.